using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using Web.Core.Objects;

public partial class AdminCP_Default : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        if (Session["Language"] == null)
            Session["Language"] = Web.Core.GlobalStorage.Language.English;
        if (Session["Membership"] != null && !(Session["Membership"] as Member).IsAdministrator())
        {
            this.SystemLink.Visible = false;
            this.AdsLink.Visible = false;
            this.LogLink.Visible = false;
        }
    }
}
